
set(CMAKE_INCLUDE_CURRENT_DIR ON)

IF (NOT ${PROJECT_SOURCE_DIR} STREQUAL ${EXECUTABLE_OUTPUT_PATH})
    file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/data" DESTINATION ${EXECUTABLE_OUTPUT_PATH})
ENDIF (NOT ${PROJECT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})

add_executable(train-project main.cpp)
target_link_libraries(train-project ${OpenCV_LIBS})
